<?php
/**
 * 陈杰  18323491246
 */

namespace App\Models\Money;

use App\Models\BaseModel;
use App\Models\Member\MemberPaymentModel;

class WithdrawalModel extends BaseModel
{
    public $table = 'withdrawal';
    public $primaryKey = 'id';

    public function payment()
    {
        return $this->hasOne(MemberPaymentModel::class, 'id', 'payment_id');
    }
}
